<?php
/**
 * Core_Model_Getaccesslevels
 * get access level list
 * @author Adrian Stolarski
 */
class Core_Model_Getaccesslevels implements Core_Model_Mainable {
    
    /**
     *
     * @var type $access_levels_data
     * access levels data handler
     */
    public $access_levels_data;
    
    /**
     * constructor()
     */
    public function __construct() {
        $this->access_levels_data = new Core_Data_Getaccesslevels;
    }
    
    /**
     * main()
     * return access levels tab
     * 
     * @param array $variables
     * @return type Core_Data_Getaccesslevels
     */
    public function main(array $variables = null) {
        //var_dump($variables);
        //die();
        $access_levels = array();
        $access_levels = $this->access_levels_data->main($variables);
        //var_dump($access_levels);
        //die();
        return $this->access_levels_data->main($variables);
    }

}
